<template>
   <div>
        <el-form-item v-if="curComponent.component=='rect-shape'" >
                 <el-form-item label="内容上边距">
                    <el-input  v-model="curComponent.style.textTop" type="number" />
                </el-form-item>
                 <el-form-item label="内容左边距">
                    <el-input  v-model="curComponent.style.textLeft" type="number" />
                </el-form-item>
                <el-form-item label="内容右边距">
                    <el-input  v-model="curComponent.style.textRight" type="number" />
                </el-form-item>
            </el-form-item>
   </div>
</template>

<script>
export default {
  props:['curComponent']
}
</script>

<style>

</style>